# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s
# CHECK: vp2intersectd k4, zmm23, zmm24
0x62,0x92,0x47,0x40,0x68,0xe0

# CHECK: vp2intersectd k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0x47,0x40,0x68,0xa4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vp2intersectd k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0x47,0x40,0x68,0xa4,0x80,0x23,0x01,0x00,0x00

# CHECK: vp2intersectd k4, zmm23, dword ptr [rip]{1to16}
0x62,0xf2,0x47,0x50,0x68,0x25,0x00,0x00,0x00,0x00

# CHECK: vp2intersectd k4, zmm23, zmmword ptr [2*rbp - 2048]
0x62,0xf2,0x47,0x40,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vp2intersectd k4, zmm23, zmmword ptr [rcx + 8128]
0x62,0xf2,0x47,0x40,0x68,0x61,0x7f

# CHECK: vp2intersectd k4, zmm23, dword ptr [rdx - 512]{1to16}
0x62,0xf2,0x47,0x50,0x68,0x62,0x80

# CHECK: vp2intersectq k4, zmm23, zmm24
0x62,0x92,0xc7,0x40,0x68,0xe0

# CHECK: vp2intersectq k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xb2,0xc7,0x40,0x68,0xa4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vp2intersectq k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
0x62,0xd2,0xc7,0x40,0x68,0xa4,0x80,0x23,0x01,0x00,0x00

# CHECK: vp2intersectq k4, zmm23, qword ptr [rip]{1to8}
0x62,0xf2,0xc7,0x50,0x68,0x25,0x00,0x00,0x00,0x00

# CHECK: vp2intersectq k4, zmm23, zmmword ptr [2*rbp - 2048]
0x62,0xf2,0xc7,0x40,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vp2intersectq k4, zmm23, zmmword ptr [rcx + 8128]
0x62,0xf2,0xc7,0x40,0x68,0x61,0x7f

# CHECK: vp2intersectq k4, zmm23, qword ptr [rdx - 1024]{1to8}
0x62,0xf2,0xc7,0x50,0x68,0x62,0x80

